﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/MasterAdmin.master" AutoEventWireup="true"
    CodeFile="ViewAdmission.aspx.cs" Inherits="Admin_ViewAdmission" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <style type="text/css">
        .style1
        {
            width: 245px;
            height: 44px;
            font-family: Times New Roman;
            font-size: 17px;
            font-weight: bold;
            background-color: White;
            width: 99px;
            border: 0px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div style="color: Black; width: 790px; background-color: #F0F0F0; margin-top: 25px;">
        <div style="font-family: Times New Roman; font-size: 17px; height: 25px; color: #820000;">
            Admission List
        </div>
        <table>
            <div>
                <tr>
                    <td style="text-align: center; width: 60px;" class="style1">
                        Student ID
                    </td>
                    <td style="text-align: center; width: 138px;" class="style1">
                        Subject
                    </td>
                    <td style="text-align: center" class="style1">
                        School Year
                    </td>
                    <td style="text-align: center" class="style1">
                        Semester
                    </td>
                    <td style="text-align: center" class="style1">
                        Full Name
                    </td>
                    <td style="text-align: center" class="style1">
                        Status
                    </td>
                    <td style="text-align: center" class="style1">
                        Admission Form
                    </td>
                    <td style="text-align: center" class="style1">
                        Admin Check
                    </td>
                </tr>
            </div>
            <div>
                <asp:DataList ID="DataList1" runat="server" DataSourceID="ObjectDataSource1">
                    <ItemTemplate>
                        <tr>
                            <td style="text-align: center; width: 60px;" class="style1">
                                <%# Eval("CodeProfileStudent") %>
                            </td>
                            <td style="text-align: center; width: 138px;" class="style1">
                                <%# Eval("NameSubjects") %>
                            </td>
                            <td style="text-align: center" class="style1">
                                <%# Eval("NameSchoolofYear") %>
                            </td>
                            <td style="text-align: center" class="style1">
                                <%# Eval("NameSemester") %>
                            </td>
                            <td style="text-align: center" class="style1">
                                <%# Eval("FullName") %>
                            </td>
                            <td style="text-align: center" class="style1">
                                <%# Eval("Status") %>
                            </td>
                            <td style="text-align: center" class="style1">
                                <%# Eval("Check") %>
                            </td>
                            <td style="width: 25px; text-align: center">
                                <asp:LinkButton ID="LinkButton1" runat="server" CommandName='<%#Eval("NameSubjects") %>'
                                    Font-Overline="false" CommandArgument='<%# Eval("CodeProfileStudent") %>' OnClick="LinkButton1_Click">Yes</asp:LinkButton>
                            </td>
                            <td style="width: 25px">
                                <asp:LinkButton ID="LinkButton2" runat="server" Font-Overline="false" CommandName='<%#Eval("NameSubjects") %>'
                                    CommandArgument='<%# Eval("CodeProfileStudent") %>' OnClick="LinkButton2_Click">No</asp:LinkButton>
                            </td>
                            <td style="width: 25px">
                                <asp:LinkButton ID="LinkButton3" runat="server" Font-Overline="false" CommandName='<%#Eval("NameSubjects") %>'
                                    CommandArgument='<%# Eval("CodeProfileStudent") %>' OnClick="LinkButton3_Click">Wait</asp:LinkButton>
                            </td>
                        </tr>
                    </ItemTemplate>
                </asp:DataList>
                <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" SelectMethod="ViewAdmission"
                    TypeName="Service.Service"></asp:ObjectDataSource>
            </div>
        </table>
    </div>
</asp:Content>
